package es.aradesh.ministryassist.logic.visit;

import es.aradesh.ministryassist.logic.ministry.Home;
import es.aradesh.ministryassist.logic.ministry.Street;

public class Revisit extends Home {

	public Revisit(long id, int levels, int doors, String name, Street street) {
		super(id, levels, doors, name, street);
	}

	public Revisit(long id, Street street, Home building, String name,
			int status, String owner) {
		super(id, street, building, name, status, owner);
	}
	
	public String toString(){
		String name = "";
		if (this.name.matches("[0-9]*"))
			name = new Integer(this.name).toString();		
		return this.owner + " (" + this.getStreet().getTerritory() + " " + this.getStreet() + " " + name + ")";
	}

	public void setStreet(String streetName, String townName){
		
	}
}
